const request = require('../libs/request.js');
const searchService = {
  //社区搜索首页
  getSearchIndex: (data) => {
    return request({
      url: "/search/index",
      data: data
    });
  },
  //社区关键字模糊查询
  getContent: (data) => {
    return request({
      url: "/search/content",
      data: data
    });
  },
  //社区关键字模糊查询用户
  getUser: (data) => {
    return request({
      url: "/search/user",
      data: data
    });
  }
}
module.exports = searchService;